package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author hql
 * @date 2019-12-08 17:17
 */
@Service
public interface OrderService {
     Result addMember(Map<String, String> map) throws Exception;

     Order checkOrder(String setmealId, Integer id, String orderDate);

    Map<String, String>  findById(Integer id);

     Integer getTodayOrderNumber(String reportDate);

    Integer getTodayVisitsNumber(String reportDate);

     Integer getThisWeekOrderNumber(String firstDayOfWeek);

     Integer getThisWeekVisitsNumber(String firstDayOfWeek);

     Integer getThisMonthOrderNumber(String firstDayOfMonth);

     List<Map<String, Object>> findHotSetmealList();
}
